package org.oims.simpleserver.entities.event;

import org.oims.simpleserver.endpoint.WebSocketEndpoint;

public class EndpointToken {
    private String token;
    private WebSocketEndpoint endpoint;

    public EndpointToken(String token, WebSocketEndpoint endpoint) {
        this.token = token;
        this.endpoint = endpoint;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public WebSocketEndpoint getEndpoint() {
        return endpoint;
    }

    public void setEndpoint(WebSocketEndpoint endpoint) {
        this.endpoint = endpoint;
    }
}
